<!--老师月报评分-->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
		<title>管理评师傅端报告评价结果页</title>
		<link rel="stylesheet" href="../../css/mui.min.css" />
		<link rel="stylesheet" href="../../css/base.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/weui.min.css">
		<link rel="stylesheet" type="text/css" href="../../css/attachmentCss.css">
		<style type="text/css" media="screen">
			.title {
				font-size: 14px;
			}
			.summary_div .feeling {
				padding-bottom: 1px;
			}
			.feeling {
				border-bottom: 1px solid #ededed;
			}
			.title {
				border-left: unset;
			}
			.score_div .feeling-text {
				/*text-indent: 2em;*/
				background-size: 16px;
				margin-top: 15px;
				margin: 10px;
			}
			.score_div .feeling-text p {
				color: #646464;
				padding: 2px 2px;
			}
			.bottom_btn_div {
				color: #FFF;
				height: 45px;
				width: 100%;
				z-index: 995;
				border-top: 1px solid #d9d9d9;
				position: fixed;
				bottom: 0px;
				left: 0px;
				text-align: center;
				margin-top: 23px;
			}
			.bottom_btn_div a {
				line-height: 45px;
				font-size: 14px;
				background: #18b4ed;
				width: 100%;
				color: #FFF;
			}
			.content_div {
				margin-top: 66px
			}
			.comment_div {
				padding-right: 20px;
				margin-top: 10px
			}
			.score_div .feeling-text {
				text-indent: 2em;
				background-size: 16px;
				margin-top: 15px;
				margin: 10px;
			}
			.score_div .feeling-text p {
				color: #646464;
				padding: 2px 2px;
			}
			.score_div {
				padding: 2px 5px;
				background: #fff
			}
			.star_score_div {
				padding: 10px;
			}
			.myScore-starscore {
				font-size: 14px;
				color: #646464;
				margin-left: 15px;
			}
			.star_score_div	.myScore-starscore .star img {
				margin-left: 3%;
				width: 18px;
			}
			.star_score_div	.top {
				margin-top: 10px;
			}
			.star {
				width: 67%;
			}
			.left {
				float: left;
			}
			.letter {
				width: 85px;
				line-height: 15px;
				padding: 4px 0px
			}
			.title img {
				height: 20px;
				padding-top: 4px
			}
			.summary_title {
				display: inline-block;
				background: url(../../icon/icon_summary_title.png) no-repeat left center;
				background-size: 20px;
				padding-left: 25px
			}
			.comment_title {
				display: inline-block;
				background: url(../../icon/icon_comment_title.png) no-repeat left center;
				background-size: 16px;
				padding-left: 25px
			}
			.grade_title {
				display: inline-block;
				background: url(../../icon/icon_grade_title.png) no-repeat left center;
				background-size: 16px;
				padding-left: 25px
			}
			.attachment_title {
				display: inline-block;
				background: url(../../icon/icon_attachment.png) no-repeat left center;
				background-size: 20px;
				padding-left: 25px;
				
			}
			.padding25 {
				padding-left: 3px
			}
			.top_title {
				margin-top: 66px
			}
			.writeReport .ReviewWeekly_div {
				margin-top: 0px;
			}
			.attachment_div {
				padding-left: 10px;
				padding-right: 8px;
			}
			.weui_cells:after {
				border-bottom: unset;
			}
		</style>
	</head>
	<body>
		<div class="base_style_color base_title_Immerse" id='BarAppearance' ></div>
		<div class="base_navigation_bar base_style_color base_navigation_item_bar base_title_position" >
			<a class="base_left_item" href="#" onclick="backClick()"> <img class="base_back_icon" src="../../image/icon_jiantou.png" alt=""> </a>
			<span id="stu_name">张三的月报</span>
			<a class="base_right_item nav-item" id="wancheng"> </a>
		</div>
		<div class=" writeReport content_div">
			<div class="ReviewWeekly_div top_54 summary_div">
				<div class="feeling">
					<p class="title summary_title" >
						工作总结
					</p>
				</div>
				<div class="score_div">
					<div class="feeling-text">
						<p id="summary" style=" word-break: break-all">
							<!--							蒙雷亚尔和穆斯塔菲没能将球解围干净，防守中的低级失误让纽卡重新取得领先，自2018年以来，阿森纳在联赛中客场还没有取得过1个积分。从数据端，穆斯塔菲可谓表现抢眼，全场10次头球争顶，可在关键时候，他却屡屡犯错。
							-->
						</p>
					</div>
				</div>
			</div>
			
			    <div class="ReviewWeekly_div summary_div"   id="attachment_div" style="display: none">
				<div class="feeling" style="border-bottom: unset">
					<p class="title attachment_title" style="margin-bottom:0;">
						附件
					</p>
				</div>
				<div class="feeling-text top_5 left_15" hidden="hidden" id="nullImg">
						<p>
							无
						</p>
					</div>
				<div id="attachmentTableView" class="weui_cells fileDownLoad_Div"></div>
				<div class="blank"></div>
			</div>
			<div class="ReviewWeekly_div top_10 comment_content_div">
				<div class="feeling" style="padding-bottom: 1px">
					<p class="title comment_title" >
						评语
					</p>
				</div>
				<div class="score_div">
					<div class="feeling-text">
						<p id="qcomment" style=" word-break: break-all">
							<!--							蒙雷亚尔和穆斯塔菲没能将球解围干净，防守中的低级失误让纽卡重新取得领先，自2018年以来，阿森纳在联赛中客场还没有取得过1个积分。从数据端，穆斯塔菲可谓表现抢眼，全场10次头球争顶，可在关键时候，他却屡屡犯错。
							-->
						</p>
					</div>
				</div>
			</div>
		
			<div class="ReviewWeekly_div top_54 summary_div">
				<div class="feeling">
					<p class="title grade_title" >
						评分
					</p>
				</div>
				<div class="star_score_div">
					<div class="myScore-starscore clearfix ">
						<div class="letter left">
							工作能力：
						</div>
						<div class="star left" id="taiduNum">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png" hidden="hidden">
						</div>
					</div>
					<div class="myScore-starscore clearfix top">
						<div class="letter left">
							工作态度：
						</div>
						<div class="star left" id="chuqinNum">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png" hidden="hidden">
						</div>
					</div>
					<div class="myScore-starscore clearfix top">
						<div class="letter left">
							职业素养：
						</div>
						<div class="star left" id="gzwcdNum">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png" hidden="hidden">
						</div>
					</div>
					<div class="myScore-starscore clearfix top">
						<div class="letter left">
							沟通能力：
						</div>
						<div class="star left" id="jnzwdNum">
						    <img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png">
							<img src="../../image/icon_xingxingblue01.png" hidden="hidden">
						</div>
					</div>
				</div>
			</div>
		</div>
		<div id="offlineAlert" class="weui_dialog_confirm" style="display: none;">
			<div class="weui_mask"></div>
			<div class="weui_dialog">
				<div class="weui_dialog_hd">
					<strong class="weui_dialog_title">是否放弃在此页面操作？</strong>
				</div>
				<div class="weui_dialog_bd"></div>
				<div class="weui_dialog_ft">
					<a onclick="cleanCancel()" href="#" class="weui_btn_dialog default">取消</a>
					<a onclick="cleanConfirm()" href="#" class="weui_btn_dialog primary"  style="color:#18b4ed">确定</a>
				</div>
			</div>
		</div>
	</body>
	<script src="../../script/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script type="text/javascript" src="../../script/MD5.js"></script>
	<script type="text/javascript" src="../../script/common.js"></script>
	<script type="text/javascript" src="../../script/timeStampTool.js"></script>
	<script type="text/javascript" src="../../script/requestTool.js"></script>
	<script type="text/javascript" src="../../script/databaseOperation.js"></script>
	<script src="../../script/attachmentManager.js"></script>
	<script type="text/javascript" src="../../script/base64.min.js"></script>
	<script type="text/javascript" src="../../script/copyTool.js"></script>
	<script type="text/javascript">
		DBReady = function() {
			loadData();
			sendBuriedNotifi('0', '师傅端报告详情页', '242');
			setupDownloadAttNotifi();
		}
		function sendBuriedNotifi(busionessid, pagetype, pagetypeid) {
			var userinfo = {
				uid : $api.getStorage('cfnetppuid'),
				jid : $api.getStorage('cfnetppjid'),
				uname : $api.getStorage('cfnetppusername'),
			}
			var data = {
				busionessid : busionessid,
				pagetype : pagetype,
				pagetypeid : pagetypeid,
				sourceurl : api.pageParam.sourceurl,
				sourcetitle : api.pageParam.sourcetitle,
				accesspageurl : window.location.pathname,
				accesspagetitle : document.title,
				userinfo : userinfo
			}
			SendBehaviorTrajectoriesNotifi_Study(data);
		}

		function loadData() {
			var param = {
				id : api.pageParam.id, //
				is : 1
			};
			cfnetppPOST(urlmasterssfinfo, param, false, function(data, status) {
				if (status == 'success') {
					if (data.status == 1) {
						var dataArr = data.json;
						if (dataArr != null) {
							name = dataArr.rename1;
							$('#summary').text(Base64.decode(dataArr.summary));
							$('#stu_name').text(name + '的月报');
							var qcomment = Base64.decode(dataArr.qcomment);
							if (qcomment == null || qcomment.length <= 0) {
								if (dataArr.qcomment == null || dataArr.qcomment.length <= 0) {
									$('#qcomment').text('无评语');
								} else {
									$('#qcomment').text(dataArr.qcomment);
								}
							} else {
								$('#qcomment').text(qcomment);
							}
							var urldata = dataArr.urldata;
							if (!isEmpty(urldata)) {
								$('#attachment_div').show();
							}
							var arr = new Array();
							for (var i = 0; i < urldata.length; i++) {
								var monthData = urldata[i];
								var data = {
									id : monthData.id,
									url : monthData.enclosureurl,
									size : monthData.enclosuresize,
									name : monthData.enclosurename,
								};
								arr.push(data);
							}
							saveAttDatasToDb(arr, '');
							//企业评语
							var qsxtd = parseInt(dataArr.qsxtd) / 20;
							//实习态度(0~10分)
							var qcql = parseInt(dataArr.qcql) / 20;
							//出勤率
							var qjnzwd = parseInt(dataArr.qjnzwd) / 20;
							//工作完成度
							var qgzwcd = parseInt(dataArr.qgzwcd) / 20;
							$("#taiduNum img").eq(qsxtd).prevAll().attr("src", "../../image/icon_xingxingblue.png");
							$("#chuqinNum img").eq(qcql).prevAll().attr("src", "../../image/icon_xingxingblue.png");
							$("#jnzwdNum img").eq(qjnzwd).prevAll().attr("src", "../../image/icon_xingxingblue.png");
							$("#gzwcdNum img").eq(qgzwcd).prevAll().attr("src", "../../image/icon_xingxingblue.png");
						} else {
							api.toast({
								msg : '获取数据失败',
								duration : 2000,
								location : 'bottom'
							});
						}
					} else {
						api.toast({
							msg : '获取数据失败',
							duration : 2000,
							location : 'bottom'
						});
					}
				} else {
					api.toast({
						msg : '网络连接失败',
						duration : 2000,
						location : 'bottom'
					});
				}
			});
		}
        //退出页面
		function backClick() {
			sendBuriedNotifi('1', '师傅端报告详情页', '242');
			api.closeWin({
			});
		}
	</script>
</html>